﻿using Enter.Admin.Dtoes;
using FluentValidation;

namespace Enter.Admin.Configs.Validator
{
    public class ArchiveModelValidator: AbstractValidator<ArchiveModel>
    {
        public ArchiveModelValidator()
        {
            RuleFor(x => x.ContractNo).NotNull().WithMessage("合同编号不能为空").NotEmpty().WithMessage("合同编号不能为空");
        }
    }
}
